home *** CD-ROM | disk | FTP | other *** search
/ HyperLib 1997 Winter - Disc 1 / HYPERLIB-1997-Winter-CD1.ISO.7z / HYPERLIB-1997-Winter-CD1.ISO / オンラインウェア / UTIL / Synchronize! Pro 3.4.1 Fold.sit / Synchronize! Pro 3.4.1 Folder / Synchronize! Pro 3.4.1 / Synchronize! Pro.rsrc / TEXT_20062_AppleScript Support.txt < prev    next >
Text File  |  1996-05-29  |  1KB  |  25 lines

  1. Synchronize! Pro can be controlled with AppleScript. Synchronization setups can be opened and synchronization started with simple script commands.
  2.  
  3. Settings within synchronization documents, and preferences, cannot currently be changed with AppleScript. Synchronize! responds to AppleScript commands, but it is not recordable.
  4.  
  5. The following scripting examples show what you can do with Synchronize! Pro and AppleScript. The text which follows can be entered directly as a script.
  6.  
  7. -- Open Synchronize! Pro, just as if it were double-clicked.
  8. tell application "Synchronize! Pro" to run 
  9.  
  10. tell application "Synchronize! Pro"
  11.     -- Open a synchronization document
  12.     open file "Sync Server" 
  13.     -- If the Start Option "Start synchronization when the
  14.     -- document is opened" is checked,
  15.     -- the synchronization will be automatically started.
  16.  
  17.     -- Start a synchronization
  18.     sync file "HD:Sync Big Disk" 
  19.     -- Synchronize! Pro will automatically open the 
  20.     -- specified document (if it's not already open)
  21.     -- and start its synchronization
  22.     
  23.     -- Quit Synchronize! Pro
  24.     quit
  25. end tell